package com.hq.utils;

public class Common {

	/**
	 * 随机生成5位数字字符串
	 * @return
	 */
	public static String randomString() {
		StringBuilder sb = new StringBuilder();
		for(int i=0;i<5;i++) {
			sb.append((int)(1+Math.random()*(10-1+1)));
		}
		return sb.toString();
	}
	
	public static void main(String[] args) {
		System.out.println(Common.randomString());
	}
}
